using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
namespace Maticsoft.Web.Register.doctorInfo
{
    public partial class Show : Page
    {        
        		public string strid=""; 
		protected void Page_Load(object sender, EventArgs e)
		{
			if (!Page.IsPostBack)
			{
				if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
				{
					strid = Request.Params["id"];
					string Doctor_ID= strid;
					ShowInfo(Doctor_ID);
				}
			}
		}
		
	private void ShowInfo(string Doctor_ID)
	{
		Maticsoft.BLL.Register.doctorInfo bll=new Maticsoft.BLL.Register.doctorInfo();
		Maticsoft.Model.Register.doctorInfo model=bll.GetModel(Doctor_ID);
		this.lblDoctor_ID.Text=model.Doctor_ID;
		this.lblDepartments_ID.Text=model.Departments_ID;
		this.lblDoctorUser_ID.Text=model.DoctorUser_ID;
		this.lblDoctor_No.Text=model.Doctor_No;
		this.lblDoctor_Name.Text=model.Doctor_Name;
		this.lblDoctor_Gender.Text=model.Doctor_Gender;
		this.lblDoctor_DateOfBirth.Text=model.Doctor_DateOfBirth.ToString();
		this.lblDoctor_Type.Text=model.Doctor_Type;
		this.lblDoctor_Position.Text=model.Doctor_Position;
		this.lblDoctor_Education.Text=model.Doctor_Education;
		this.lblDoctor_Resume.Text=model.Doctor_Resume;
		this.lblDoctor_Phone.Text=model.Doctor_Phone;
		this.lblDoctor_Email.Text=model.Doctor_Email;
		this.lblDoctor_Picture.Text=model.Doctor_Picture;
		this.lblDoctor_AddTime.Text=model.Doctor_AddTime.ToString();
		this.lblDoctor_Recoder.Text=model.Doctor_Recoder;
		this.lblDoctor_LastAmendPerson.Text=model.Doctor_LastAmendPerson.ToString();
		this.lblDoctor_State.Text=model.Doctor_State;
		this.lblDoctor_LastAmendTime.Text=model.Doctor_LastAmendTime.ToString();

	}


    }
}
